const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token, // user分模块中的token
  avatar: state => state.user.avatar, // 头像的getter
  name: state => state.user.name// 用户名getter
}
export default getters
